package com.mfangsoft.zhuangjialong.integration.gift.model;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * table t_biz_gift
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseGift implements Serializable {
    /**
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;
    public Integer getGift_id() {
		return gift_id;
	}

	public void setGift_id(Integer gift_id) {
		this.gift_id = gift_id;
	}


	private Integer gift_id;
    private Integer num;
    private Integer creator_id;

    public Integer getCreator_id() {
		return creator_id;
	}

	public void setCreator_id(Integer creator_id) {
		this.creator_id = creator_id;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}


	/**
     *   礼品名称
     * column name
     *
     * @MLTH_generated
     */
    private String name;

    /**
     *   礼品价值
     * column instructions
     *
     * @MLTH_generated
     */
    private String value;

    /**
     *   礼品型号
     * column inventory
     *
     * @MLTH_generated
     */
    private String grade;

    /**
     *   库存
     * column number
     *
     * @MLTH_generated
     */
    private Integer inventory;

    /**
     *   图片
     * column img_url
     *
     * @MLTH_generated
     */
    private String img_url;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_gift
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *   礼品名称
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     *   礼品名称
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
    
    
    private int iscreator;
    
    public int getIscreator() {
		return iscreator;
	}

	public void setIscreator(int iscreator) {
		this.iscreator = iscreator;
	}


	private String creator_str;
    
    public String getCreator_str() {
		return creator_str;
	}

	public void setCreator_str(String creator_str) {
		this.creator_str = creator_str;
	}



	private Long creator;
    
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date create_time;
    private Long updater;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date update_time;


    public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Long getUpdater() {
		return updater;
	}

	public void setUpdater(Long updater) {
		this.updater = updater;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	/**
     *   图片
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getImg_url() {
        return img_url;
    }

    /**
     *   图片
     * @param img_url the value for 
     *
     * @MLTH_generated
     */
    public void setImg_url(String img_url) {
        this.img_url = img_url == null ? null : img_url.trim();
    }

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

   
}